<?php

namespace api\controller;

// +----------------------------------------------------------------------
// | 控件数据控制层
// +----------------------------------------------------------------------

use common\controller\VerifyController;
use common\service\MessageTaskConfirmService;
use common\service\WorkTimeRecordService;
use think\Request;

class MessageTaskConfirmController extends VerifyController
{
    /**
     * @var WorkTimeRecordService
     */
    private $messageTaskConfirmService;

    public function __construct()
    {
        parent::__construct();
        $this->messageTaskConfirmService = MessageTaskConfirmService::getInstance();
    }

    /**
     * 列表
     * @param Request $request
     * @return \think\Response
     */
    public function list(Request $request)
    {
        $param = $request->param();
        $res = $this->messageTaskConfirmService->list($param, $request->getTenantId());
        return json(success_response('', $res));
    }


}
